package com.cyj.springbootservice.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyj.springbootservice.api.entity.SysDeptRelation;
import org.apache.ibatis.annotations.Mapper;

/**
 * @description:
 * @Author C_Y_J
 * @create 2022/5/10 10:42
 **/
@Mapper
public interface SysDeptRelationMapper extends BaseMapper<SysDeptRelation> {

    /**
     * 删除部门关系表数据
     *
     * @param id 部门ID
     */
    void deleteDeptRelationsById(Integer id);

    /**
     * 更改部分关系表数据
     *
     * @param deptRelation
     */
    void updateDeptRelations(SysDeptRelation deptRelation);

}
